<?php
/**
 * Created by PhpStorm.
 * User: qishengqiang
 * Date: 2022-06-07
 * Time: 09:43
 */

namespace app\models;


class Linkers extends ModelBase
{
    protected $pk = 'linkerId';

    public function getStatusText()
    {
        if ($this->status == 1) {
            return '启用';
        } else {
            return '弃用';
        }
    }
}